package com.xuz.observer.example03;

import com.xuz.observer.example02.LotteryResult;

/**
 * 短信发送事件
 *
 * @user 65453
 * @date 2024/10/17 21:09
 */
public class MessageEventListener implements EventListener {
    @Override
    public void doEvent(LotteryResult result) {
        System.out.println("发送短信通知用户ID为: " + result.getUId() +
                ",您的摇号结果如下: " + result.getMsg());
    }
}
